package com.tct.ndocgen;

/**
 * @author Huhailong
 * @Description
 * @Date 2021/8/10.
 */
public class FileUtil {

    public static String getSuffix(String fileFullName){
        String[] split = fileFullName.split("\\.");
        return split[split.length-1];
    }

    public static String getNonSuffixFileName(String fileFullName){
        return fileFullName.replace("." + getSuffix(fileFullName), "");
    }

    public static String reMakeFileName(String fileName, String suffix){
        return "";
    }
}
